find the derivative of the reciprocal function